import Layout from "@/layout";
export default {
  path: "/platformSystem",
  name: "platformSystem",
  component: Layout,
  redirect: "/platformSystem",
  meta: {
    title: "系统",
  },
  children: [
    {
      path: "foundationConfig",
      name: "foundationConfig",
      component: () => import("@/views/platformSystem/foundationConfig"),
      meta: {
        title: "基础配置",
      },
      children: [
        {
          path: "precisetj",
          name: "precisetj",
          component: () =>
            import("@/views/platformSystem/foundationConfig/precisetj"),
          meta: {
            title: "精准推荐",
          },
        },
        {
          path: "onlineService",
          name: "onlineService",
          component: () =>
            import("@/views/platformSystem/foundationConfig/onlineService"),
          hidden: true,
          meta: {
            title: "在线客服",
          },
        },
      ],
    },
    {
      path: "classifyConfig",
      name: "classifyConfig",
      component: () => import("@/views/platformSystem/classifyConfig"),
      meta: {
        title: "分类配置",
      },
      hidden: true,
      children: [
        {
          path: "areaClassify",
          name: "areaClassify",
          component: () =>
            import("@/views/platformSystem/classifyConfig/areaClassify"),
          meta: {
            title: "地区分类",
          },
        },
        {
          path: "positionClassify",
          name: "positionClassify",
          component: () =>
            import("@/views/platformSystem/classifyConfig/positionClassify"),
          meta: {
            title: "职位分类",
          },
        },
        {
          path: "majorClassify",
          name: "majorClassify",
          component: () =>
            import("@/views/platformSystem/classifyConfig/majorClassify"),
          meta: {
            title: "专业分类",
          },
        },
        {
          path: "otherClassify",
          name: "otherClassify",
          component: () =>
            import("@/views/platformSystem/classifyConfig/otherClassify"),
          meta: {
            title: "其他分类组",
          },
        },
        {
          path: "detail/:id?",
          name: "Detail",
          component: () =>
            import(
              "@/views/platformSystem/classifyConfig/otherClassify/detail.vue"
            ),
          hidden: true,
        },
      ],
    },
    {
      path: "qyBusinessConfig",
      name: "qyBusinessConfig",
      component: () => import("@/views/platformSystem/qyBusinessConfig"),
      hidden: true,
      meta: {
        title: "企业业务配置",
      },
      children: [
        {
          path: "basicConfig",
          name: "basicConfig",
          component: () =>
            import("@/views/platformSystem/qyBusinessConfig/basicConfig"),
          meta: {
            title: "基础配置",
          },
        },
        {
          path: "setMenuConfig",
          name: "setMenuConfig",
          component: () =>
            import("@/views/platformSystem/qyBusinessConfig/setMenuConfig"),
          meta: {
            title: "套餐配置",
          },
        },
        {
          path: "quickConsume",
          name: "quickConsume",
          component: () =>
            import("@/views/platformSystem/qyBusinessConfig/quickConsume"),
          meta: {
            title: "快捷消费",
          },
        },
        {
          path: "pointsSetMenu",
          name: "pointsSetMenu",
          component: () =>
            import("@/views/platformSystem/qyBusinessConfig/pointsSetMenu"),
          meta: {
            title: "积分套餐",
          },
        },
        {
          path: "addedServe",
          name: "addedServe",
          component: () =>
            import("@/views/platformSystem/qyBusinessConfig/addedServe"),
          meta: {
            title: "增值服务",
          },
        },
        {
          path: "taskConfig",
          name: "taskConfig",
          component: () =>
            import("@/views/platformSystem/qyBusinessConfig/taskConfig"),
          meta: {
            title: "任务配置",
          },
        },
      ],
    },
    {
      path: "personConfig",
      name: "personConfig",
      component: () => import("@/views/platformSystem/personConfig"),
      hidden: true,
      meta: {
        title: "个人业务配置",
      },
      children: [
        {
          path: "basicConfig",
          name: "basicConfig",
          component: () =>
            import("@/views/platformSystem/personConfig/basicConfig"),
          meta: {
            title: "基础配置",
          },
        },
        {
          path: "addedServe",
          name: "addedServe",
          component: () =>
            import("@/views/platformSystem/personConfig/addedServe"),
          meta: {
            title: "增值服务",
          },
        },
        {
          path: "taskConfig",
          name: "taskConfig",
          component: () =>
            import("@/views/platformSystem/personConfig/taskConfig"),
          meta: {
            title: "任务配置",
          },
        },
      ],
    },
    {
      path: "administrators",
      name: "administrators",
      component: () => import("@/views/platformSystem/administrators"),
      meta: {
        title: "系统管理员",
      },
      children: [
        {
          path: "manage",
          name: "manage",
          component: () =>
            import("@/views/platformSystem/administrators/manage"),
          meta: {
            title: "管理员列表",
          },
        },
        {
          path: "matterNotice",
          name: "matterNotice",
          component: () =>
            import("@/views/platformSystem/administrators/matterNotice"),
          hidden: true,
          meta: {
            title: "待办事项通知",
          },
        },
      ],
    },
    {
      path: "Configlog",
      name: "Configlog",
      component: () => import("@/views/platformSystem/Configlog"),
      meta: {
        title: "系统日志",
      },
      children: [
        {
          path: "enterpriseLog",
          name: "enterpriseLog",
          component: () =>
            import("@/views/platformSystem/Configlog/enterpriseLog"),
          meta: {
            title: "企业会员日志",
          },
        },
        {
          path: "personLog",
          name: "personLog",
          component: () => import("@/views/platformSystem/Configlog/personLog"),
          meta: {
            title: "个人会员日志",
          },
        },
        {
          path: "manageLog",
          name: "manageLog",
          component: () => import("@/views/platformSystem/Configlog/manageLog"),
          meta: {
            title: "管理员日志",
          },
        },
      ],
    },
  ],
};
